<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Flow: flow::net_flow::Event_set::Socket_as_any_equals Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Flow<span id="projectnumber">&#160;2.0.0</span>
   </div>
   <div id="projectbrief">Flow project: Full implementation reference.</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceflow.html">flow</a></li><li class="navelem"><a class="el" href="namespaceflow_1_1net__flow.html">net_flow</a></li><li class="navelem"><a class="el" href="classflow_1_1net__flow_1_1Event__set.html">Event_set</a></li><li class="navelem"><a class="el" href="classflow_1_1net__flow_1_1Event__set_1_1Socket__as__any__equals.html">Socket_as_any_equals</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classflow_1_1net__flow_1_1Event__set_1_1Socket__as__any__equals-members.html">List of all members</a>  </div>
  <div class="headertitle"><div class="title">flow::net_flow::Event_set::Socket_as_any_equals Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Equality predicate class used in storing various sockets of types wrapped as <code>boost::any</code>s in the <a class="el" href="classflow_1_1net__flow_1_1Event__set.html#a592b3ce6602051bd9994216041a3cbdc" title="A set of sockets of one type, used to communicate sets of desired and resulting events in various Eve...">Sockets</a> type.  
 <a href="classflow_1_1net__flow_1_1Event__set_1_1Socket__as__any__equals.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="event__set_8hpp_source.html">event_set.hpp</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a2651cf79dd65bdc60707ff3a368f5d9a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classbool.html">bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classflow_1_1net__flow_1_1Event__set_1_1Socket__as__any__equals.html#a2651cf79dd65bdc60707ff3a368f5d9a">operator()</a> (const boost::any &amp;sock_as_any1, const boost::any &amp;sock_as_any2) const</td></tr>
<tr class="memdesc:a2651cf79dd65bdc60707ff3a368f5d9a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns whether the two objects, which must be stored in <a class="el" href="classflow_1_1net__flow_1_1Event__set.html#a592b3ce6602051bd9994216041a3cbdc" title="A set of sockets of one type, used to communicate sets of desired and resulting events in various Eve...">Sockets</a> objects, are equal by value.  <a href="classflow_1_1net__flow_1_1Event__set_1_1Socket__as__any__equals.html#a2651cf79dd65bdc60707ff3a368f5d9a">More...</a><br /></td></tr>
<tr class="separator:a2651cf79dd65bdc60707ff3a368f5d9a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >Equality predicate class used in storing various sockets of types wrapped as <code>boost::any</code>s in the <a class="el" href="classflow_1_1net__flow_1_1Event__set.html#a592b3ce6602051bd9994216041a3cbdc" title="A set of sockets of one type, used to communicate sets of desired and resulting events in various Eve...">Sockets</a> type. </p>
<p >We do not simply define <code>operator==(any, any)</code>, because our implementation specifically works for <code>any</code> objects that store various sockets and won't work for all other possibilities; and we don't want to force this on every user of <code>hash&lt;any&gt;</code>. </p>

<p class="definition">Definition at line <a class="el" href="event__set_8hpp_source.html#l00965">965</a> of file <a class="el" href="event__set_8hpp_source.html">event_set.hpp</a>.</p>
</div><h2 class="groupheader">Member Function Documentation</h2>
<a id="a2651cf79dd65bdc60707ff3a368f5d9a" name="a2651cf79dd65bdc60707ff3a368f5d9a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2651cf79dd65bdc60707ff3a368f5d9a">&#9670;&nbsp;</a></span>operator()()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classbool.html">bool</a> flow::net_flow::Event_set::Socket_as_any_equals::operator() </td>
          <td>(</td>
          <td class="paramtype">const boost::any &amp;&#160;</td>
          <td class="paramname"><em>sock_as_any1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const boost::any &amp;&#160;</td>
          <td class="paramname"><em>sock_as_any2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns whether the two objects, which must be stored in <a class="el" href="classflow_1_1net__flow_1_1Event__set.html#a592b3ce6602051bd9994216041a3cbdc" title="A set of sockets of one type, used to communicate sets of desired and resulting events in various Eve...">Sockets</a> objects, are equal by value. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sock_as_any1</td><td>Object wrapping one the socket objects permitted by <code>enum</code> members of Event_type. </td></tr>
    <tr><td class="paramname">sock_as_any2</td><td>Object wrapping one the socket objects permitted by <code>enum</code> members of Event_type. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if and only if the two are equal by value. </dd></dl>

<p class="definition">Definition at line <a class="el" href="event__set_8cpp_source.html#l00836">836</a> of file <a class="el" href="event__set_8cpp_source.html">event_set.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>net_flow/<a class="el" href="event__set_8hpp_source.html">event_set.hpp</a></li>
<li>net_flow/<a class="el" href="event__set_8cpp_source.html">event_set.cpp</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Mar 28 2025 22:55:35 for Flow by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
</small></address>
</body>
</html>
